#include "ModeBusApp.h"

void ModeBusAnyFunc(ModeBusPduElem_T *pdu)
{
	char str[200];
	char devAddr = pdu->devAddr;
	SERIAL_PORT_PARAM stParam;
	unsigned char readerAnyData[1024] = { 0 };

	memcpy(readerAnyData, tmp, sizeof(readerAnyData));

	ModeBusSndPdu.pduIndex = ConstructRtuFrame((unsigned char *)ModeBusSndPdu.pduBuf, readerAnyData, sizeof(readerAnyData));
	ModeBusSendReq = True;

	T_RCV = 5000000; //us,Set Layer2 Timeout to 5s
	return USER_ECODE_OK;

}